﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_PetitionDtls
    {
        private int PETITION_DTLS_SEQ;
        private Nullable<int> PETITION_SEQ;
        private Nullable<int> MONEY_REQ_SEQ;
        private Nullable<int> BGM_PLAN_SEQ;
        private Nullable<int> JOB_SITE_SEQ;
        private Nullable<double> AMOUNT;
        private Nullable<double> AMOUNT_TAX;
        private Nullable<double> AMOUNT_PENALTY;
        private Nullable<double> AMOUNT_REDEMPTION;
        private Nullable<double> AMOUNT_FUND;
        private Nullable<double> AMOUNT_REAL;

        private string MONEY_REQ_NAME;
        private string BGM_PLAN_NAME;
        private string JOB_SITE_NAME;
        private string PETITION_DTLS_NAME;
        private Nullable<int> CONTACT_SEQ;
        private string CONTACT_NAME;
        private Nullable<int> EVENT_SEQ;
        private Nullable<int> PAY_SEQ;

        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_PetitionDtls()
        {

        }

        public M_FIM_PetitionDtls(
            int PETITION_DTLS_SEQ
            , Nullable<int> PETITION_SEQ
            , Nullable<int> MONEY_REQ_SEQ
            , Nullable<int> BGM_PLAN_SEQ
            , Nullable<int> JOB_SITE_SEQ
            , Nullable<double> AMOUNT
            , Nullable<double> AMOUNT_TAX
            , Nullable<double> AMOUNT_PENALTY
            , Nullable<double> AMOUNT_REDEMPTION
            , Nullable<double> AMOUNT_FUND
            , Nullable<double> AMOUNT_REAL

            , string MONEY_REQ_NAME
            , string BGM_PLAN_NAME
            , string JOB_SITE_NAME
            , string PETITION_DTLS_NAME
            , Nullable<int> CONTACT_SEQ
            , string CONTACT_NAME
            , Nullable<int> EVENT_SEQ
            , Nullable<int> PAY_SEQ

            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.PETITION_DTLS_SEQ = PETITION_DTLS_SEQ;
            this.PETITION_SEQ = PETITION_SEQ;
            this.MONEY_REQ_SEQ = MONEY_REQ_SEQ;
            this.BGM_PLAN_SEQ = BGM_PLAN_SEQ;
            this.JOB_SITE_SEQ = JOB_SITE_SEQ;
            this.AMOUNT = AMOUNT;
            this.AMOUNT_TAX = AMOUNT_TAX;
            this.AMOUNT_PENALTY = AMOUNT_PENALTY;
            this.AMOUNT_REDEMPTION = AMOUNT_REDEMPTION;
            this.AMOUNT_FUND = AMOUNT_FUND;
            this.AMOUNT_REAL = AMOUNT_REAL;

            this.MONEY_REQ_NAME = MONEY_REQ_NAME;
            this.BGM_PLAN_NAME = BGM_PLAN_NAME;
            this.JOB_SITE_NAME = JOB_SITE_NAME;
            this.PETITION_DTLS_NAME = PETITION_DTLS_NAME;
            this.CONTACT_SEQ = CONTACT_SEQ;
            this.CONTACT_NAME = CONTACT_NAME;
            this.EVENT_SEQ = EVENT_SEQ;
            this.PAY_SEQ = PAY_SEQ;

            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int petition_dtls_seq
        {
            set { PETITION_DTLS_SEQ = value; }
            get { return PETITION_DTLS_SEQ; }
        }

        public Nullable<int> petition_seq
        {
            set { PETITION_SEQ = value; }
            get { return PETITION_SEQ; }
        }

        public Nullable<int> money_req_seq
        {
            set { MONEY_REQ_SEQ = value; }
            get { return MONEY_REQ_SEQ; }
        }

        public Nullable<int> bgm_plan_seq
        {
            set { BGM_PLAN_SEQ = value; }
            get { return BGM_PLAN_SEQ; }
        }

        public Nullable<int> job_site_seq
        {
            set { JOB_SITE_SEQ = value; }
            get { return JOB_SITE_SEQ; }
        }

        public Nullable<double> amount
        {
            set { AMOUNT = value; }
            get { return AMOUNT; }
        }

        public Nullable<double> amount_tax
        {
            set { AMOUNT_TAX = value; }
            get { return AMOUNT_TAX; }
        }

        public Nullable<double> amount_penalty
        {
            set { AMOUNT_PENALTY = value; }
            get { return AMOUNT_PENALTY; }
        }

        public Nullable<double> amount_redemption
        {
            set { AMOUNT_REDEMPTION = value; }
            get { return AMOUNT_REDEMPTION; }
        }

        public Nullable<double> amount_fund
        {
            set { AMOUNT_FUND = value; }
            get { return AMOUNT_FUND; }
        }

        public Nullable<double> amount_real
        {
            set { AMOUNT_REAL = value; }
            get { return AMOUNT_REAL; }
        }


        public string money_req_name
        {
            set { MONEY_REQ_NAME = value; }
            get { return MONEY_REQ_NAME; }
        }

        public string bgm_plan_name
        {
            set { BGM_PLAN_NAME = value; }
            get { return BGM_PLAN_NAME; }
        }

        public string job_site_name
        {
            set { JOB_SITE_NAME = value; }
            get { return JOB_SITE_NAME; }
        }

        public string petition_dtls_name
        {
            set { PETITION_DTLS_NAME = value; }
            get { return PETITION_DTLS_NAME; }
        }

        public Nullable<int> contact_seq
        {
            set { CONTACT_SEQ = value; }
            get { return CONTACT_SEQ; }
        }

        public string contact_name
        {
            set { CONTACT_NAME = value; }
            get { return CONTACT_NAME; }
        }

        public Nullable<int> event_seq
        {
            set { EVENT_SEQ = value; }
            get { return EVENT_SEQ; }
        }

        public Nullable<int> pay_seq
        {
            set { PAY_SEQ = value; }
            get { return PAY_SEQ; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
